Fix negation of unsigned quantities in the Xen x86 emulator.
authorkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>
Thu, 1 Jun 2006 15:31:37 +0000 (16:31 +0100)
committerkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>
Thu, 1 Jun 2006 15:31:37 +0000 (16:31 +0100)
commitf7ec35430685595784788569e178793fe9067307
treef8a272b9410e45cf4d99dcd7b39121044d032129
parent1a59e1d7a753243f597d30ab43a04e3c315f5a5a
Fix negation of unsigned quantities in the Xen x86 emulator.
This fixes the problems left behind by c/s 10171. Again pointed
out by Jan Beulich; and again different from his suggested patch.
Hopefully this one will be less embarrassing.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/traps.c
xen/arch/x86/x86_emulate.c